<template>
  <div class="app">
    <Editer v-model="state"></Editer>
  </div>
</template>

<script setup>
import data from './data.json'
import { provide, ref } from 'vue';
import Editer from '@/packages/editer'
import { registerConfig as config } from './untils/editer-config'
const state = ref(data);

provide('config',config)

</script>

<style lang="scss">
.app{
  position: fixed;
  top:20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
}
</style>
